<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <title>后台管理系统|GTF-Admin</title>
    <link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css"/>
    <link rel="stylesheet" href="__PUBLIC__/admin/css/admin.css"/>
    <script src="__PUBLIC__/admin/js/jquery.js"></script>
</head>
<body>
<div class="container">
    <div class="content-search">
        <form class="layui-form layui-form-pane" action="">
            <div class="layui-inline">
                <label class="layui-form-label">模块名</label>
                <div class="layui-input-block">
                    <input name="title" autocomplete="off" class="layui-input" value="{$title}" type="text"/>
                </div>
            </div>
            <div class="layui-inline">
                <input  autocomplete="off" value="搜索" class="layui-btn" type="submit"/>
            </div>
        </form>
    </div>
    <div class="handle-btn">
        <button class="layui-btn layui-btn-small layui-tab-button xwy-add" data-width="650px" data-height="700px" data-id="article-add" data-title="添加文章" data-url="{:url('Menu/add')}">添加</button>
    </div>

    <div class="table-list">
        <table class="layui-table" lay-skin="line">
            <thead>
            <tr>
                <th>编号</th>
                <th>菜单名</th>
                <th>作者</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            {volist name="list" id="vo"}
            <tr data-assign="{$vo.id}">
                <td>{$vo.id}</td>
                <td>{$vo.title}</td>
                <td>{$vo.writer}</td>
                <td>{$vo.status}</td>
                <td>
                    <a class="layui-btn layui-btn-primary layui-btn-mini xwy-add" lay-event="edit"  data-width="650px" data-height="700px" data-id="article-add" data-title="编辑文章" data-url="{:url('Article/add',array('id'=>$vo.id))}">编辑</a>
                    <a class="layui-btn layui-btn-primary layui-btn-mini ajax-get" target-msg="确定删除么？" target-url="{:url('Article/del',array('id'=>$vo.id))}" lay-event="delete">删除</a>
                </td>
            </tr>
            {/volist}

            </tbody>
        </table>
    </div>
</div>
<div id="table-pages" style="text-align:center">

</div>

<script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/gtf.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/admin.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/js/xwy.js?v=123"></script>
<script type="text/javascript">

</script>
</body>
</html>
</html>